import { mergeOptions } from "../utils/index"

export function initGlobApi(Vue) {
    Vue.options = {}
    Vue.Mixin = function(mixin) {
        // 对象的合并
        this.options = mergeOptions(this.options, mixin)
    }
} 